<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>事故报案单</title>
    <%@include file="/static/common/commom.jsp" %>
    <script src="/static/js/caseReportBill.js"></script>
</head>
<body>
<table id="caseReportBill_dataGrid"></table>

<div id="tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">新增</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="acceptcase">受理报案</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="submittobeaudited">提交待审核</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="viewitem">查看报案单明细</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edititem">编辑报案单明细</a>

    <%--高级查询按钮--%>
    <input id="status" class="easyui-combobox"
           data-options="valueField:'status',textField:'text',data: [{
			status: '-2',
			text: '选中全部'
		},{
			status: '-1',
			text: '已拒绝'
		},{
			status: '0',
			text: '已报案'
		},{
			status: '1',
			text: '已受理'
		},{
			status: '2',
			text: '待审核'
		},{
			status: '3',
			text: '已审核'
		}]" />
    <%--根据报案日期做高级查询--%>
    <input  id="beginDate"   class= "easyui-datebox" prompt="请选择开始日期"> </input>
    <input  id="endDate"   class= "easyui-datebox" prompt="请选择结束日期"> </input>
    <a class="easyui-linkbutton"  iconCls="icon-search" plain="true"  onclick="mySearch()"></a>
</div>

<div id="btns">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>

<div id="caseReportBill_dialog">
    <form id="caseReportBill_form" method="post">
        <input type="hidden" name="id">
        <table align="center">
            <input name="id" type="hidden">
            <tr>
                <td>保险单号:</td>
                <td><input name="insuranceBillNumber" class="easyui-validatebox"  required="true"  prompt="请输入保险单号"></td>
            </tr>
            <tr>
                <td>报案人姓名:</td>
                <td><input name="caseReporterName" class="easyui-validatebox" required="true" prompt="请输入报案人姓名">
                </td>
            </tr>
            <tr>
                <td>报案人电话:</td>
                <td><input name="telephone" class="easyui-validatebox" required="true" prompt="请输入报案人电话号码" ></td>
            </tr>

            <tr>
                <td>报案人性别:</td>
                <td><input name="gender" class="easyui-combobox" required="true" prompt="请选择报案人性别"
                           data-options='{
                           data:[
                           {"value":true,"text":"男性"}
                           ,{"value":false,"text":"女性"}
                           ],
                           textField:"text",valueField:"value",panelHeight:"auto"
                           }'
                ></td>
            </tr>
            <tr>
                <td>报案时间:</td>
                <td><input name="reportTime" class="easyui-datebox" required="true" prompt="请输入报案时间" ></td>
            </tr>
            <tr>
                <td>报案地点:</td>
                <td><input name="caseLocation" class="easyui-validatebox"  required="true" prompt="请输入报案地址"></td>
            </tr>
            <tr>
                <td>报案车牌号:</td>
                <td><input name="plateNumber" class="easyui-validatebox" required="true" prompt="请输入车牌号" ></td>
            </tr>
        </table>
    </form>
</div>


<div id="itemView_btns">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="itemview_cancel">关闭</a>
</div>

<%--报案单的明查看--%>
<div id="caseReportBillItemView_dialog">
    <form id="caseReportBillItemView_form" method="post">
        <table align="center">
            <input name="id" type="hidden">
            <tr>
                <td>事故描述:</td>
                <td><input name="caseInfo" class="easyui-textbox"></td>
            </tr>
            <tr>
                <td>车险报损人姓名:</td>
                <td><input name="claimerName" class="easyui-textbox" ></td>
            </tr>
            <tr>
                <td>损失申报金额:</td>
                <td><input name="lostClaimAmount" class="easyui-textbox" ></td>
            </tr>
            <tr>
                <td>车险报损人银行卡卡号:</td>
                <td><input name="claimerAccount" class="easyui-textbox" ></td>
            </tr>
        </table>
    </form>
</div>


<div id="item_btns">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="item_save">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="item_cancel">取消</a>
</div>

<%--提交报案的明细信息--%>
<div id="caseReportBillItem_dialog">
    <form id="caseReportBillItem_form" method="post">
        <table align="center">
            <input name="id" type="hidden">
            <tr>
                <td>事故描述:</td>
                <td><input name="caseInfo" class="easyui-textbox" required="true"></td>
            </tr>
            <tr>
                <td>车险报损人姓名:</td>
                <td><input name="claimerName" class="easyui-textbox" required="true"></td>
            </tr>
            <tr>
                <td>损失申报金额:</td>
                <td><input name="lostClaimAmount" class="easyui-textbox" required="true"></td>
            </tr>
            <tr>
                <td>车险报损人银行卡卡号:</td>
                <td><input name="claimerAccount" class="easyui-textbox" required="true"></td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
